package com.tian.mapper;

import com.tian.entity.UserChargeRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserChargeRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserChargeRecord record);

    UserChargeRecord selectByPrimaryKey(Long id);

    UserChargeRecord selectByTradeNo(String tradeNo);
    List<UserChargeRecord> selectByTradeNos(List<String> list);

    List<UserChargeRecord> selectAll();

    int updateByPrimaryKey(UserChargeRecord record);
}